Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foreign assets migration script #59

Merged
merged 6 commits into from
Dec 19, 2024

Conversation

ahmadkaouk
Copy link
Contributor

@ahmadkaouk ahmadkaouk commented Dec 12, 2024

This PR add a script to migrate foreign assets from the old system to the new one.

Usage:

   bun src/lazy-migrations/005-foreign-assets-migration.ts \
     --url wss://wss.api.moondev.network \
     --asset-id 1234 \
     --alith \
     --limit 50

Options:

   --url              Websocket url
   --asset-id         Asset ID to migrate
   --account-priv-key Private key of the account to use
   --limit            Maximum number of balances/approvals to migrate per batch (default: 100)

@ahmadkaouk ahmadkaouk marked this pull request as ready for review December 19, 2024 13:19
@ahmadkaouk ahmadkaouk merged commit c001bb1 into main Dec 19, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants